package com.test.service.impl;

import com.test.dao.MoneyMapper;
import com.test.dao.UserMapper;
import com.test.model.Money;
import com.test.model.User;
import com.test.service.MoneyService;
import com.test.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MoneyServiceImpl implements MoneyService {
    @Autowired
    private MoneyMapper moneyMapper;

    @Override
    public Money query(String username) {
        return moneyMapper.selectByPrimaryKey(username);
    }
}
